package com.newtouch.bxzs.enterprise.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.newtouch.bxzs.common.base.model.bo.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 客户推送查询条件
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/13 13:58</td>
 * <td>Amour</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author Amour
 * @version 1.0.0
 * @since 1.0.0
 */
@ApiModel
@EqualsAndHashCode(callSuper = true)
@Data
public class CustomerCndVO extends PageParam implements Serializable {

    private static final long serialVersionUID = 3853675067525117247L;

    @ApiModelProperty(value = "客户姓名")
    private String customerName;

    @ApiModelProperty(value = "用户工号",hidden = true)
    private String userJobNumber;

    @ApiModelProperty(value = "推送来源:1-营销会议推送2-营销活动推送3-保单意向推送4-产品意向推送5-个人客户推送6-企业客户推送",required = true)
    private String pushSource;

    @ApiModelProperty(value = "保单号(保单意向查询)")
    private String policyNumber;

    @ApiModelProperty(value = "客户证件类型(保单意向查询)")
    private String customerCertificateType;

    @ApiModelProperty(value = "客户证件号码(保单意向查询)")
    private String customerCertificateNumber;

    @ApiModelProperty(value = "推送客户状态(保单意向查询):1-未接收2-已接收3-已升级4-已撤回5-未处理6-已处理")
    private String pushCustomerStatus;

    @ApiModelProperty(value = "统一社会信用代码(保单意向查询)")
    private String unifiedSocialCreditCode;

    @ApiModelProperty(value = "推送开始时间(保单意向查询)")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date pushStartTime;

    @ApiModelProperty(value = "推送结束时间(保单意向查询)")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date pushEndTime;
}
